package DsPattern.Singleton;

public class HungryS {
	private HungryS() {}

	private static HungryS instance = new HungryS();
	public static HungryS getInstance() {
		return instance;
	}


	private static HungryS instance1=null;
	static {
		instance1=new HungryS();
	}
	public HungryS getInstance1(){
		return instance1;
	}
}
